<template>
  <div class="view">
    <div class="serach">
      <i class="el-icon-search"></i>
      <input type="text" placeholder="请输入想去的地方，如:香港" class="serachInput" />
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  }
};
</script>

<style lang="stylus" scoped>
.view {
  .serach {
    width: 256px;
    border: 2px solid orange;
    height: 40px;
    margin-top: 10px;
    display: flex;
    align-items: center;

    >>> .el-icon-search {
      font-size: 22px;
      margin: 0 10px;
      color: orange;
    }

    .serachInput {
      border: none;
      background-color: transparent;
      font-size: 13px;
      outline: none;
    }
  }
}
</style>